home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 5
/
BBS in a Box -Volume V (BBS in a Box) (April 1992).iso
/
Files
/
System7 tools
/
E
/
Excel 3.0 Startup Fix.cpt
/
Excel 3.0 Startup Fix
/
Set Default Folder
(
.txt
)
next >
Wrap
Excel Spreadsheet
|
1991-07-06
|
4KB
|
35 lines
Sheet:
(0, 0) Names
(0, 1) Commands
(0, 2) Comments (both start_watching & set_folder are command macros.)
(1, 0) Auto.Open
(1, 1) start_watching
(1, 2) Auto Opens at startup and starts watching for an active window.
(2, 0)
(2, 2) Turn the ON.WINDOW "event loop" on;
(3, 0)
(3, 2) when the first window is activated set_folder will be run.
(5, 0) set_folder
(5, 1) set_folder
(5, 2) Sets the default directory to the active window's directory.
(6, 0)
(6, 2) If we're at the root level there won't be a ":" in the path.
(7, 0)
(7, 2) We're at the root level; DIRECTORY needs a final ":".
(8, 0)
(8, 2)
(9, 0)
(9, 2) We're in some folder; so nothing needs to be added.
(10, 0)
(10, 2)
(11, 0)
(11, 2) Turn the ON.WINDOW "event loop" off.
(12, 0)
(12, 2) Note: the cell named "set_folder" must contain the value set_folder.
(14, 1) Written by Bozo Clown
(14, 2) Place this add-in into the Excel Startup Folder to set the default folder
(15, 1) Based on suggestions from
(15, 2) to the one which contained the document which was opened to startup
(16, 1) David Wortendyke MS Excel Support
(16, 2) Excel 3.0 when running under System 7.0.